package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsGroupSubject entity. @author MyEclipse Persistence Tools
 */

public class IsnsGroupSubject implements java.io.Serializable {

	// Fields

	private Integer subjectId;
	private Integer groupId;
	private Integer userId;
	private String userName;
	private String userIco;
	private String title;
	private String content;
	private Timestamp addTime;
	private Integer hits;
	private Integer comments;
	private String tag;

	// Constructors

	/** default constructor */
	public IsnsGroupSubject() {
	}

	/** minimal constructor */
	public IsnsGroupSubject(Integer groupId, Integer userId) {
		this.groupId = groupId;
		this.userId = userId;
	}

	/** full constructor */
	public IsnsGroupSubject(Integer groupId, Integer userId, String userName,
			String userIco, String title, String content, Timestamp addTime,
			Integer hits, Integer comments, String tag) {
		this.groupId = groupId;
		this.userId = userId;
		this.userName = userName;
		this.userIco = userIco;
		this.title = title;
		this.content = content;
		this.addTime = addTime;
		this.hits = hits;
		this.comments = comments;
		this.tag = tag;
	}

	// Property accessors

	public Integer getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}

	public Integer getGroupId() {
		return this.groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserIco() {
		return this.userIco;
	}

	public void setUserIco(String userIco) {
		this.userIco = userIco;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public Integer getHits() {
		return this.hits;
	}

	public void setHits(Integer hits) {
		this.hits = hits;
	}

	public Integer getComments() {
		return this.comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}